Skip to content

[RELEASE ONLY CHANGES] use --no-cache-dir in install_requirements#18165

Merged
manuelcandales merged 1 commit intorelease/1.2from
manuel/release-only-no-cache-dir
Mar 17, 2026
Merged

[RELEASE ONLY CHANGES] use --no-cache-dir in install_requirements#18165
manuelcandales merged 1 commit intorelease/1.2from
manuel/release-only-no-cache-dir

Conversation

@manuelcandales
Copy link
Contributor

@manuelcandales manuelcandales commented Mar 13, 2026

Fixes sha mismatch error by ensuring that pip does not use cached packages, which helps avoid issues with stale or outdated test wheels:

  • Added the --no-cache-dir flag to all pip install commands in both install_requirements and install_optional_example_requirements functions in install_requirements.py to prevent using potentially stale cached packages.

@pytorch-bot
Copy link

pytorch-bot bot commented Mar 13, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/18165

Note: Links to docs will display an error until the docs builds have been completed.

❌ 9 New Failures

As of commit b529e51 with merge base 8c0a60b (image):

NEW FAILURES - The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 13, 2026
@manuelcandales manuelcandales changed the title use --no-cache-dir in install_requirements [RELEASE ONLY CHANGES] use --no-cache-dir in install_requirements Mar 17, 2026
@manuelcandales manuelcandales marked this pull request as ready for review March 17, 2026 15:51
@mergennachin mergennachin self-requested a review March 17, 2026 15:53
@manuelcandales manuelcandales merged commit e0a193c into release/1.2 Mar 17, 2026
205 of 215 checks passed
@manuelcandales manuelcandales deleted the manuel/release-only-no-cache-dir branch March 17, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants